﻿@model membershipTest.Models.LoginModel
@{
    ViewBag.Title = "Login";
}

<h2>Login</h2>
@using (Html.BeginForm())
{
  @Html.AntiForgeryToken()
  @Html.ValidationSummary()
    <fieldset>
        <legend>Register</legend>
        <ol>
            <li>
                @Html.LabelFor(m=>m.UserName)
                @Html.TextBoxFor(m=>m.UserName)
            </li>
            <li>
                @Html.LabelFor(m => m.Password)
                @Html.TextBoxFor(m => m.Password)
            </li>
          
        </ol>
        <input type="submit" value="Login"/>
    </fieldset>
}
